import { createPinia } from "pinia";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)


export default pinia

export * from './modules/user'
// 相当于
// import { useUserStore } from './modules/user'
// export { useUserStore }
export * from './modules/theme-switch'